﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UWarrantyCardEdit.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.UserModel.UWarrantyCardEdit" %>
<style>
    .divider{ padding:1px!important; margin:1px!important; }
    .pageFormContent .p,.pageFormContent .dl{height:20px!important;}
    .uwc2div label{width:130px!important;}
</style>
<div class="pageContent">
	<form id="Form1"  action="UserModel/UWarrantyCardEdit.aspx?ajaxmethod=edit&uwcid=<%=UWCID %>" class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone);">
   

    <div class="tabs" currentIndex="0" eventType="click">
		<div class="tabsHeader">
			<div class="tabsHeaderContent">
				<ul>
					<li><a href="javascript:;"><span>保修卡</span></a></li>
					<li><a href="javascript:;"><span>调查表</span></a></li>
				</ul>
			</div>
		</div>
		<div class="tabsContent">
			<div class="pageFormContent" layoutH="90">            
			<p>
				<label>机型：</label>
                 <%=GetMacType("select", "MachineType", obj.MachineType)%>
			</p>
            <p>
				<label>机号：</label>
                   <input type="text" name="SerialNumber" class="required" alt="请输入机号" value="<%=obj.SerialNumber %>"  />
			</p>
            <p>
            <label>是否是VIP：</label>
                   <input type="checkbox" name="IsVip" value="true" <%=obj.IsVip?"checked":"" %>  />
			</p>
            <p>
            <label>是否已交保修卡：</label>
                   <input type="checkbox" name="IsHandCard" value="true" <%=obj.IsHandCard?"checked":"" %>  />
			</p>
            <p>
				<label>关键部件是否延保：</label>
                   <input type="checkbox" name="IsKeepSvr" value="true"  <%=obj.IsKeepSvr?"checked":"" %>/>
			</p>
                 <p>
				<label>是否安装破碎器：</label>
                   <input type="checkbox" name="IsBreaker" value="true"   <%=obj.IsBreaker?"checked":"" %>/>
			</p>
            <div class="divider"></div>
          
            <p>
				<label>发动机号：</label>
                   <input type="text" name="EngineNumber" class="" alt="请输入发动机编号"  value="<%=obj.EngineNumber %>"/>
			</p>
             <p>
				<label>交机日期：</label>
                   <input type="text" name="IntoDate" class="date" readonly="true"  format="yyyy-MM-dd" value="<%=Convert.ToDateTime(obj.IntoDate).ToString("yyyy-MM-dd") %>"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
             <div class="divider"></div>
             
            <p>
				<label>交机小时数：</label>
                   <input type="text" name="IntoHours" class="" alt="" value="<%=obj.IntoHours %>"/>
			</p>
            <p>
				<label>交机地址：</label>
                   <input type="text" name="IntoAddress" class="" alt=""  value="<%=obj.IntoAddress %>" />
			</p>
             <div class="divider"></div>             
            <dl class="nowrap">
				<dt>特别附件及规格：</dt>
			    <table>
                    <tr>
                        <td>
                            <input type="checkbox" name="IntoSpecial" value="标准式样" <%=GetIntoSpecial("标准式样") %> />标准式样
                            <input type="checkbox" name="IntoSpecial" value="带破碎管路" <%=GetIntoSpecial("带破碎管路") %>/>带破碎管路
                            <input type="checkbox" name="IntoSpecial" value="加长臂" <%=GetIntoSpecial("加长臂") %>/>加长臂
                            <input type="checkbox" name="IntoSpecial" value="加宽铲斗" <%=GetIntoSpecial("加宽铲斗") %>/>加宽铲斗
                            <input type="checkbox" name="IntoSpecial" value="其他" <%=GetIntoSpecial("其他") %>/>其他
                        </td>
                        <td>
                         <input type="text" name="IntoSpecialOther" class="" alt=""  value="<%=obj.IntoSpecialOther %>"/>   
                        </td>
                    </tr>
                </table>                
			</dl>
            <div class="divider"></div>             
            <dl class="nowrap">
				<dt>使用现场工况：</dt>
			    <table>
                    <tr>
                        <td>
                            <input type="checkbox" name="IntoConditi" value="土方" <%=GetIntoConditi("土方") %>/>土方
                            <input type="checkbox" name="IntoConditi" value="砂石" <%=GetIntoConditi("砂石") %>/>砂石
                            <input type="checkbox" name="IntoConditi" value="采石" <%=GetIntoConditi("采石") %>/>采石
                            <input type="checkbox" name="IntoConditi" value="挖砂" <%=GetIntoConditi("挖砂") %>/>挖砂
                            <input type="checkbox" name="IntoConditi" value="造园" <%=GetIntoConditi("造园") %>/>造园
                            <input type="checkbox" name="IntoConditi" value="其他" <%=GetIntoConditi("其他") %>/>其他
                        </td>
                        <td>
                         <input type="text" name="IntoConditiOther" class="" alt=""  value="<%=obj.IntoConditiOther %>"/>   
                        </td>
                    </tr>
                </table>                
			</dl>
           <div class="divider"></div>  
           <p>
				<label>客户姓名：</label>
                   <input type="text" name="CustomerName" class="required" alt="请输入客户姓名"  value="<%=obj.CustomerName %>" />
			</p>
             <p>
				<label>客户电话：</label>
                   <input type="text" name="CustomerTel" class="" alt=""  value="<%=obj.CustomerTel %>"/>
			</p>
            <div class="divider"></div>  
            <dl class="nowrap">
				<dt>客户手机：</dt>
                <dd><input type="text" name="CustomerMobile" class="required" alt=""  size="50" value="<%=obj.CustomerMobile %>"/></dd>
            </dl>
            <div class="divider"></div>  
            <dl class="nowrap">
				<dt>客户身份证：</dt>
                <dd><input type="text" name="CustomerIDCard" class="idcard required" alt="" size="50" value="<%=obj.CustomerIDCard %>"/></dd>
               
            </dl>
            <dl class="nowrap">
             <dt>生日：</dt>
                <dd><input type="text" name="Birthday" class="date" readonly="readonly" format="MM-dd" alt=""   value="<%=obj.Birthday %>"/></dd>
                </dl>
            <div class="divider"></div> 
            <dl class="nowrap">
				<dt>客户详细地址：</dt>
                <dd><input type="text" name="CustomerAddress" class="" size="50"  value="<%=obj.CustomerAddress %>" /></dd>
            </dl>          

        <div class="divider"></div>  
           <p>
				<label>经销商名称：</label>
                   <input type="text" name="dwz.orgLookup.AgentName" class="required textInput autocomplete" alt=""
                        size="30"  value="<%=obj.AgentName %>" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getagentlist" swidth="300" showinputid="UWarrantyCardEdit_AgentAddress"/>
                    <a class="btnLook" href="SAPAgentListLookUp.aspx"  lookupgroup="orgLookup"
                        maxable="false" width="600" resizable="false" title="经销商列表">
                        <hi:text key="查找带回" />
                    </a>
			</p>
             <p>
				<label>服务电话：</label>
                   <input type="text" name="AgentTel" class="" alt=""  value="<%=obj.AgentTel %>"/>
			</p>
           <div class="divider"></div>  
           <p>
				<label>交机服务人员：</label>
                   <input type="text" name="AgentSvrPer" class="" alt=""  value="<%=obj.AgentSvrPer %>"/>
			</p>
             <p>
				<label>交机人电话：</label>
                   <input type="text" name="AgentSvrPerTel" class="" alt=""  value="<%=obj.AgentSvrPerTel %>"/>
			</p>
            <div class="divider"></div>  
            <dl class="nowrap">
				<dt>经销商地址：</dt>
                <dd><input type="text" id="UWarrantyCardEdit_AgentAddress" name="dwz.orgLookup.AgentAddress" class="" alt="" size="90"  value="<%=obj.AgentAddress %>"/></dd>
            </dl>
            <div class="divider"></div>  
            <dl class="nowrap">
				<dt>备注：</dt>
                <dd>
                <textarea  name="Remark"  cols="60" rows="5" ><%=obj.Remark%></textarea>
                </dd>
            </dl>
    </div>
			<div class="pageFormContent uwc2div" layoutH="90">
                <%=GetUQuestionTemplete() %>
            </div>		
		</div>
		<div class="tabsFooter">
			<div class="tabsFooterContent"></div>
		</div>
	</div>

    <div class="formBar">
   
			<ul>
				<li><div class="buttonActive"><div class="buttonContent">                 
                    <button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
       
	</form>
    </div>